package com.xyzboom.compiler.excepitons.compiler.grammar

import com.xyzboom.compiler.compiler.grammar.ISymbol
import com.xyzboom.compiler.compiler.lexer.Token

class UnexpectedNextTokenException(
    token: Token?, expectedISymbol: List<ISymbol>
) : GrammarException(
    "Unexpected token $token, " +
            "do you forget ${expectedISymbol.joinToString(" or ")}"
)